package com.test.repository;

import com.test.entity.UserContact;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by Jack on 6/30/2018.
 */
@Mapper
public interface UserContactRepository {

    List<UserContact> findByUserId(Long userId);

    int insert(UserContact... contacts);

    int deleteAll();
}
